#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/11/12 16:41
# @Author  : huidong.bai
# @File    : urls.py
# @Software: PyCharm

from django.urls import path

from django.urls import re_path
from . import views

urlpatterns = [
    path('task/add/', views.TaskAddAPIViewSet.as_view({
        "get": "list",
        "post": "create"
    })),
    path('task/', views.TaskListAPIView.as_view()),
    path('task/execute/', views.TaskStartAPIView.as_view())
]
